/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package DAO;

import POJO.Customer;
import Util.DataAccessUtil;
import java.util.List;

/**
 *
 * @author Nguyễn Thi Mỷ Diện (1140214)
 */
public class CustomerDAO {
    public static List<Customer> getListCustomer() throws Exception{
        String hql = "SELECT c from Customer c";        
        return DataAccessUtil.getList(hql);
    }
}
